# config.txt
# This file contains the NVRAM configuration for NetXtreme II devices
# To incorporate these settings into a device, simply invoke xdiag as
# follows.
#         xdiag -rc config.txt

# 1: MAC Address (in a form xx:xx:xx:xx:xx:xx)
# 2: Power Dissipated (D3:D2:D1:D0)
# 3: Power Consumed (D3:D2:D1:D0)
# 4: Vendor ID (in hex)
# 5: Vendor Device ID (in hex)
# 6: Subsystem Vendor ID (in hex)
# 7: Subsystem Device ID (in hex)
# 8: Product Name (arbitrary string)
# 9: Part Number
#10: Engineering Change
#11: Serial Number
#12: Manufacturing ID
#13: Led Mode {MacMode(0), PhyMode1(1), PhyMode2(2), ..., PhyMode7(7)}
#14: Design Type: {NIC(0), LOM(1)}
#16: BAR size: {Disabled(0), 64K(1), 128K(2), ...1M(5), ...64M(11), ...1G(15)}
#17: Magic Packet WoL {Disable(0), Enable(1)}
#18: WoL link speed {Auto(0), ...1000FD(6)}
#21: MBA {Disable(0), Enable(1)}
#22: MBA Link Speed {Auto(0), ...1000FD(6)}
#23: MBA Boot Protocol {PXE(0), RPL(1), BOOTP(2)}
#24: MBA Boot Type {Auto(0), BBS(1), Int18(2), Int19(3)}
#25: MBA Delay Time (0-15)
#26: MBA Setup Hot Key {Ctrl-S(0), Ctrl-B(1)}
#27: MBA hide setup prompt {Disable(0), Enable(1)}
#28: Expansion ROM size {Disabled(0), ...64k(7), ...16M(15)}
#29: Mgmt Firmware {Disable(0), Enable(1)}
#30: Link override by UMP {Disable(0), Enable(1)}
#33: iSCSI MAC Address (in a form xx:xx:xx:xx:xx:xx)
#34: MBA VLAN {Disable(0), Enable(1)}
#35: MBA VLAN value
#36: Vaux current overdraw {Disable(0), Enable(1)}
#37: UMP uses RMII {Disable/MII only(0), Enable(1)}
#38: GPIO to decide which mgmt FW to run {Disabled(0), 3-7}
#39: Spare Number (arbitrary string)
#40: Fiber supporting 2.5G (5708 fiber only) {Disable(0), Enable(1)}
#41: Backplane application (5708 fiber only) {Disable(0), Enable(1)}
#42: UMP CRS/RXDV select (5708 B0 and after) {RXDV(0), CRS(1)}
#43: UMP PHY Timing (5708 B0 and after) {Disable(0), Enable(1)}
#44: SMBus Address {one byte even hex value (i.e.bit0=0)}
#46: Serdes TxAControl3 value (pre-emphasis, idriver, etc; 5708 fiber only) { 16-bit, or Disabled(0) }
#47: UMP Echo mode { Disabled(0), Enable(1) }
#48: Allow gigabit link on Vaux {Disabled(0), Enable(1)}
#49: Default link setting (serdes only) {Autoneg(0), forced 1G(3), forced 2.5G(4), AN w/1G(35), AN w/2.5G(36)}
#50: LED application (5708 A0 and B0 fiber only) {Independent(0), Multicolor(1), All_tied(2)}
#51: EPB Power Disspated (D3:D2:D1:D0) (5708 B0 and after) 
#52: EPB Power Consumed (D3:D2:D1:D0) (5708 B0 and after) 
#53: EPB Power Budget value 0 (5708 B0 and after) 
#54: EPB Power Budget value 1 (5708 B0 and after) 
#55: EPB Power Budget value 2 (5708 B0 and after) 
#56: EPB Power Budget value 3 (5708 B0 and after) 
#57: Forced L1 workaround (5708 B1, CQ#23123) {Disable(0), Enable(1)}
#58: Read only VPD Vendor Specific Data (V0)
#59: Port swap {Disable(0), Enable(1)} (5709 only)
#60: Remote PHY {Disable(0), Enable(1)} (5708 serdes)
#61: PCIE Gen2 {Disable(0), Enable(1)} (5709 only)
#62: Function hide {None(0), Reserved(1), Func1(2)} (5709 only)
#63: Mgmt FW load choice {Any(0), NCSI(1), UMP(2), IPMI(3), NCSI/IPMI(4), UMP/IPMI(5), NCSI/UMP(6)}
#    (4, 5, 6 are determined by SPIO4 (0/1), 5709 only)
#64: NCSI Package ID assignment method {SPIO(0), NVRAM(1)} (5709 only)
#65: NCSI Package ID assigned value {0-3} (5709 only)
#66: SMBus Timing {100kHz(0), 400kHz(1)} (5709 only)
#67: PCIE power budget data 0 (Bits 20-0) (5709 only)
#68: PCIE power budget data 1 (Bits 20-0) (5709 only)
#69: PCIE power budget data 2 (Bits 20-0) (5709 only)
#70: PCIE power budget data 3 (Bits 20-0) (5709 only)
#71: PCIE power budget data 4 (Bits 20-0) (5709 only)
#72: PCIE power budget data 5 (Bits 20-0) (5709 only)
#73: PCIE power budget data 6 (Bits 20-0) (5709 only)
#74: PCIE power budget data 7 (Bits 20-0) (5709 only)
#75: Prevent PCIE L1-entry {Disable(0), Enable(1)} (5708 only)                                         
#76: Prevent PCIE relax ordering {Disable(0), Enable(1)} (5709 only)
#77: Backup primary MAC address
#78: Force Expansion ROM advertisement { Disable(0), Enable(1) }
#79: PCIE Gen2 Preemphasis: { HW(0), 0dB(1),3_5dB(2), 6_0dB(3) } (5709/16)
#80: MBA Boot Retry Count: {0, 1,...6, 7(Indefinite)}


nvm cfg "1=00:10:18:04:22:3b" \
        "2=10:0:0:100" \
        "3=10:0:0:100" \
        "4=14E4" \
        "5=164A" \
        "6=14E4" \
        "7=164A" \
        "8=Broadcom NetXtreme II Ethernet Controller" \
        "9=BCM95708A0" \
        "10=220197-2" \
        "11=abcdefghij" \
        "12=14e4" \
        "13=1" \
        "14=0" \
        "16=10" \
        "17=0" \
        "18=0" \
        "21=0" \
        "22=0" \
        "23=0" \
        "24=0" \
        "25=5" \
        "26=0" \
        "27=0" \
        "28=8" \
        "29=0" \
        "30=0" \
        "33=00:10:18:04:22:3c" \
        "34=0" \
        "35=0" \
        "36=0" \
        "37=0" \
        "38=0" \
        "39=5708" \
        "40=0" \
        "41=0" \
        "42=0" \
        "43=0" \
        "44=0x00" \
        "46=0" \
        "47=0" \
        "48=0" \
        "49=0" \
        "50=0" \
        "51=0:0:0:0" \
        "52=0:0:0:0" \
        "53=0" \
        "54=0" \
        "55=0" \
        "56=0" \
        "57=1" \
        "58=\"\""\
        "59=0"\
        "60=0"\
        "61=0"\
        "62=0"\
        "63=0"\
        "64=0"\
        "65=0"\
        "66=0"\
        "67=0x0"\
        "68=0x0"\
        "69=0x0"\
        "70=0x0"\
        "71=0x0"\
        "72=0x0"\
        "73=0x0"\
        "74=0x0"\
        "75=0"\
        "76=0"\
        "77=00:00:00:00:00:00"\
        "78=0"\
        "79=0"\
        "80=0"\



